package com.iary.interfaces.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {
	
	@RequestMapping("/login")
	public String execute(){
		return "login";
	}
	
	@RequestMapping("/taobao")
	public String taobao(){
		return "redirect:http://www.taobao.com";
	}
	
	@RequestMapping("/admin")
	public String admin(){
		return "redirect:/admin/index";
	}

}
